package xyz.chenyongpeng.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import xyz.chenyongpeng.entity.ZsCoupon;
import xyz.chenyongpeng.to.CouponTo;
import xyz.chenyongpeng.to.MyCoupons;

import java.util.List;
import java.util.Map;

public interface IZsCouponService extends IService<ZsCoupon> {

    List<Long> getGoodsIdByCouponId(String coupon_id);

    void getCouponIdByGoodsId(String[] goods_id);

    Integer getCouponLost(String u_id);

    List<CouponTo> getListByLimit(Map<String,Object> parms);

    int countByCoupon(Map<String,Object> parms);

    List<MyCoupons> getMyCoupons(Map<String,Object> parms);

    int getMyCouponsCount(Map<String,Object> parms);

    List<MyCoupons> getCouponListByGoodsId(Map<String,Object> parms);
}
